﻿using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;

public class UIDoMove : MonoBehaviour {
    public Transform uipanel;
    public Vector3 dopion;
    public float item;
    public LoopType loop;
    // Use this for initialization
    void Start () {
		DOTween.Init(false, true, LogBehaviour.ErrorsOnly);
        uipanel.DOLocalMove(dopion, item).SetRelative().SetLoops(-1, loop);
    }

    // Update is called once per frame
    void Update () {
		
	}
}
